package org.jeecg.modules.gift.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.gift.entity.GiftActivityMerchant;
import org.jeecg.modules.gift.entity.GiftMerchant;
import org.jeecg.modules.gift.mapper.GiftActivityMerchantMapper;
import org.jeecg.modules.gift.service.IGiftActivityMerchantService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 活动商户
 * @Author: jeecg-boot
 * @Date:   2024-07-13
 * @Version: V1.0
 */
@Service
public class GiftActivityMerchantServiceImpl extends ServiceImpl<GiftActivityMerchantMapper, GiftActivityMerchant> implements IGiftActivityMerchantService {

    @Override
    public List<GiftMerchant> selectActivityMerchantList(String activityId) {
        return getBaseMapper().selectActivityMerchantList(activityId);
    }

    @Override
    public IPage<GiftMerchant> selectPageActivityMerchantList(Page<GiftMerchant> page, String activityId) {
        return getBaseMapper().selectPageActivityMerchantList(page,activityId);
    }
}
